package com.snowy.hidden.util;

import cn.hutool.crypto.SecureUtil;

public class SeUtil {
    private static final String AESKEY = "envpwdkeenvpwdke";

    /**
     * 解密
     */
    public final static String decryptStr(String simpleString) {
        return SecureUtil.aes(AESKEY.getBytes()).decryptStr(simpleString);
    }
    /**
     * 加密
     */
    public final static String encryptHex(String hexString) {
        return SecureUtil.aes(AESKEY.getBytes()).encryptHex(hexString);
    }
}
